Skip to content

Update Java并发进阶常见面试题总结.md#1308

Merged
Snailclimb merged 1 commit intoSnailclimb:masterfrom
liukun2634:master
Aug 5, 2021
Merged

Update Java并发进阶常见面试题总结.md#1308
Snailclimb merged 1 commit intoSnailclimb:masterfrom
liukun2634:master

Conversation

@liukun2634
Copy link
Copy Markdown
Contributor

@liukun2634 liukun2634 commented Aug 4, 2021

改动1: 将 “ Executors 可以实现 Runnable 对象和 Callable 对象之间的相互转换." 这句修改成: Executors 可以实现将 Runnable 对象转换成 Callable 对象。

原因:给出的Executors中的两个方法都是将Runnable 对象转换成 Callable对象。 如果想将Callable 转换成Runnable,应该是重写Runnable 中的run 方法,其他方法:https://stackoverflow.com/questions/36777592/how-can-we-convert-a-callable-into-a-runnable

改动2: 部分排版问题,code中的中文括号,加粗格式不正确

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-bug Content error typo Correct typos

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants